package yogiro.to;

public class NoticeTO {
	private int noticeNo;
	private String noticeTitle;
	private String noticeContent;
	private String noticeWriter;
	private String noticeWritedate;
	private int noticeViewcount;
	private int noticeGrade;
	private int next;
	private int commentCount;
	private String memberId;
	private NoticeCommentTO commentTO ;
	
	public int getNext() {
		return next;
	}
	public void setNext(int next) {
		this.next = next;
	}
	public NoticeTO(int noticeNo, String noticeTitle, String noticeContent,
			String noticeWriter, String noticeWritedate, int noticeViewcount,
			int noticeGrade, int commentCount, String memberId,
			NoticeCommentTO commentTO) {
		super();
		this.noticeNo = noticeNo;
		this.noticeTitle = noticeTitle;
		this.noticeContent = noticeContent;
		this.noticeWriter = noticeWriter;
		this.noticeWritedate = noticeWritedate;
		this.noticeViewcount = noticeViewcount;
		this.noticeGrade = noticeGrade;
		this.commentCount = commentCount;
		this.memberId = memberId;
		this.commentTO = commentTO;
	}
	public int getCommentCount() {
		return commentCount;
	}
	public void setCommentCount(int commentCount) {
		this.commentCount = commentCount;
	}
	public int getNoticeNo() {
		return noticeNo;
	}
	public void setNoticeNo(int noticeNo) {
		this.noticeNo = noticeNo;
	}
	public String getNoticeTitle() {
		return noticeTitle;
	}
	public void setNoticeTitle(String noticeTitle) {
		this.noticeTitle = noticeTitle;
	}
	public String getNoticeContent() {
		return noticeContent;
	}
	public void setNoticeContent(String noticeContent) {
		this.noticeContent = noticeContent;
	}
	public String getNoticeWriter() {
		return noticeWriter;
	}
	public void setNoticeWriter(String noticeWriter) {
		this.noticeWriter = noticeWriter;
	}
	public String getNoticeWritedate() {
		return noticeWritedate;
	}
	public void setNoticeWritedate(String noticeWritedate) {
		this.noticeWritedate = noticeWritedate;
	}
	public int getNoticeViewcount() {
		return noticeViewcount;
	}
	public void setNoticeViewcount(int noticeViewcount) {
		this.noticeViewcount = noticeViewcount;
	}
	public int getNoticeGrade() {
		return noticeGrade;
	}
	public void setNoticeGrade(int noticeGrade) {
		this.noticeGrade = noticeGrade;
	}
	public String getMemberId() {
		return memberId;
	}
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}
	public NoticeCommentTO getCommentTO() {
		return commentTO;
	}
	public void setCommentTO(NoticeCommentTO commentTO) {
		this.commentTO = commentTO;
	}
	public NoticeTO(int noticeNo, String noticeTitle, String noticeContent,
			String noticeWriter, String noticeWritedate, int noticeViewcount,
			int noticeGrade, String memberId, NoticeCommentTO commentTO) {
		super();
		this.noticeNo = noticeNo;
		this.noticeTitle = noticeTitle;
		this.noticeContent = noticeContent;
		this.noticeWriter = noticeWriter;
		this.noticeWritedate = noticeWritedate;
		this.noticeViewcount = noticeViewcount;
		this.noticeGrade = noticeGrade;
		this.memberId = memberId;
		this.commentTO = commentTO;
	}
	
	public NoticeTO(){}
	
	public NoticeTO(int noticeNo, String noticeTitle, String noticeContent,
			String noticeWriter, String noticeWritedate, int noticeViewcount,
			int noticeGrade, String memberId) {
		super();
		this.noticeNo = noticeNo;
		this.noticeTitle = noticeTitle;
		this.noticeContent = noticeContent;
		this.noticeWriter = noticeWriter;
		this.noticeWritedate = noticeWritedate;
		this.noticeViewcount = noticeViewcount;
		this.noticeGrade = noticeGrade;
		this.memberId = memberId;
	}
	public NoticeTO(int noticeNo, String noticeTitle, String noticeContent,
			String noticeWriter, int noticeViewcount) {
		super();
		this.noticeNo = noticeNo;
		this.noticeTitle = noticeTitle;
		this.noticeContent = noticeContent;
		this.noticeWriter = noticeWriter;
		this.noticeViewcount = noticeViewcount;
	}
	public NoticeTO(String noticeTitle, String noticeContent,
			String noticeWriter, String memberId) {
		super();
		this.noticeTitle = noticeTitle;
		this.noticeContent = noticeContent;
		this.noticeWriter = noticeWriter;
		this.memberId = memberId;
	}

	
	
	
	
}
